package com.moliku.insurance.process.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.moliku.insurance.model.entity.Config;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 保险公司配置
 *
 * @author Mr.Liu
 * @since 2021/3/27
 */
@Mapper
public interface ConfigMapper extends BaseMapper<Config> {
    /**
     * 获取value值
     *
     * @param company 公司编码
     * @param key     key
     * @return 值
     */
    String getValue(@Param("company") String company, @Param("key") String key);
}